// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SEC_QUERYFIELD
// * CreateDate    : 2014-06-05 18:30:41
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:41
// * LastChanger   : 2014-06-05 18:30:41
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SecQueryfieldTable : TableInfo
    {
		public const string C_TableName = "SEC_QUERYFIELD";
		
		public const string C_MENU_ID = "MENU_ID";
		public const string C_FIELDORDER = "FIELDORDER";
		public const string C_FIELDTEXT = "FIELDTEXT";
		public const string C_FIELDVALUE = "FIELDVALUE";
		public const string C_REMARK = "REMARK";
		public const string C_ISCOMMONUSED = "ISCOMMONUSED";
		
		public SecQueryfieldTable()
        {
            _tableName = "SEC_QUERYFIELD";
        }
		
		protected static SecQueryfieldTable _current;
        public static SecQueryfieldTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SecQueryfieldTable();

            _current.Add(C_MENU_ID, new ColumnInfo(C_MENU_ID,"MenuId", true, typeof(string)));
            _current.Add(C_FIELDORDER, new ColumnInfo(C_FIELDORDER,"Fieldorder", true, typeof(decimal)));
            _current.Add(C_FIELDTEXT, new ColumnInfo(C_FIELDTEXT,"Fieldtext", false, typeof(string)));
            _current.Add(C_FIELDVALUE, new ColumnInfo(C_FIELDVALUE,"Fieldvalue", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_ISCOMMONUSED, new ColumnInfo(C_ISCOMMONUSED,"Iscommonused", false, typeof(decimal)));
			
		}
		
		public ColumnInfo MENU_ID
        {
            get { return this[C_MENU_ID]; }
        }
		
		public ColumnInfo FIELDORDER
        {
            get { return this[C_FIELDORDER]; }
        }
		
		public ColumnInfo FIELDTEXT
        {
            get { return this[C_FIELDTEXT]; }
        }
		
		public ColumnInfo FIELDVALUE
        {
            get { return this[C_FIELDVALUE]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo ISCOMMONUSED
        {
            get { return this[C_ISCOMMONUSED]; }
        }
		
		
		
	}
}

